#!/bin/bash
path1=`pwd`
gzname=`ls |grep "tar.gz"`
string1=`pwd |awk -F'/' '{print $NF}'`
allfile=`ls |grep -v "tar.gz"`
rm -rf ${path1}/${allfile}
tar zxvf ${gzname}
